const express = require('express')
const myParse = require('./custom-body-parse')
const server = express()

// 注册解析表单数据的中间件
server.use(myParse)


server.post('/data',(req,res)=>{
    console.log(req.body)
    res.send('finished')
})

server.listen(80,()=>{
    console.log('http://127.0.0.1')
})
